<?php $this->beginBlock('main') ?>
        <div>
            <div class="message-container">
                <?php echo $this->loadTemplate('block' . DS . 'message'); ?>
            </div>
            <form id="login_form" method="post" action="<?php echo $this->buildUrl('*/*/*/*') ?>">
                <input type="text" id="username" name="username"/>
                <input type="password" id="password" name="password"/>
                <button type="submit">登录</button>
            </form>
        </div>
<?php $this->endBlock() ?>
<?php echo $this->extend('template'.DS.'base')?>
